package com.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.domain.Like;
import com.demo.domain.TeamComposition;
import com.demo.domain.TeamProfile;
import com.demo.core.exception.ParameterException;
import com.demo.domain.ro.AddRegInfoRequest;

import java.util.List;


public interface TeamService extends IService<TeamProfile> {
    /**
     * 根据队伍编号显示队伍详情
     * @param tpId
     * @return
     */
    public TeamProfile getTeamProfileById(Long tpId) throws ParameterException;

    public String organizeTeamInfoAndMember(TeamProfile teamProfile, List<TeamComposition> teamCompositions,Long uid) throws Exception;
}
